import numpy as np
import matplotlib.pyplot as plt
import sys

filename = sys.argv[1]

with open(filename,"r") as f:
	X = np.array(eval(f.readline()))
	Y = np.array(eval(f.readline()))
	plt.plot(X,Y, linewidth=1, linestyle="-")
f.close()

plt.savefig("../png/"+filename[:-4]+".png")